<html>
	<head>
	<meta charset="cp1251" />
	</head>


	<body>
		<textarea onkeyup="document.getElementById('id1').innerHTML=this.value">
		</textarea>

		<div id="id1" style="background:red">
		  asdada dsaad 
		</div>

		<div id="id2"  style="background:skyblue">
		  12312123123
		</div>

	</body>

</html>